#! /bin/sh /usr/share/dpatch/dpatch-run
## 05_makefile.dpatch by LI Daobing <lidaobing@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: New patch generated from newedit 3.3~cvs20060814-1 diff.gz

@DPATCH@
diff -urNad ulipad-3.6+r2037~/Makefile ulipad-3.6+r2037/Makefile
--- ulipad-3.6+r2037~/Makefile	1970-01-01 08:00:00.000000000 +0800
+++ ulipad-3.6+r2037/Makefile	2007-03-20 00:39:53.000000000 +0800
@@ -0,0 +1,22 @@
+all:
+
+INSTALLDIR = $(DESTDIR)/usr/share/ulipad
+DOCDIR = $(DESTDIR)/usr/share/doc/ulipad
+BINDIR = $(DESTDIR)/usr/bin
+
+install:
+	install -d $(INSTALLDIR)
+	install	UliPad.py $(INSTALLDIR) 
+	install -m 644 ulipad.ico $(INSTALLDIR)
+	cp -r acp conf images lang mixins modules plugins resources scripts tools wizard $(INSTALLDIR)
+	chmod 644 $(INSTALLDIR)/tools/run
+
+	install -d $(DOCDIR)
+	cp -r doc $(DOCDIR)/html
+
+	install -d $(BINDIR)
+	install -m755 ulipad $(BINDIR)
+
+clean:
+	-rm -f ulipad.ini
+	-rm -rf snippets
diff -urNad ulipad-3.6+r2037~/ulipad ulipad-3.6+r2037/ulipad
--- ulipad-3.6+r2037~/ulipad	1970-01-01 08:00:00.000000000 +0800
+++ ulipad-3.6+r2037/ulipad	2007-03-20 00:39:21.000000000 +0800
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /usr/share/ulipad
+exec python UliPad.py -m $@
